Normalized metadata generation device, object occlusion detection device and method

ABSTRACT

Disclosed a normalized metadata generation device, and object occlusion detection device and method. A normalized metadata generation method includes generating a multi-ellipsoid based three-dimensional human model using perspective features of a plurality of two-dimensional images obtained by the multiple cameras, performing scene calibration based on the three-dimensional human model to normalize object information of the object included in the two-dimensional images, and generating normalized metadata of the object from the two-dimensional images on which the scene calibration is performed.

CROSS REFERENCE TO RELATED APPLICATIONS

This present application is a national stage filing under 35 U.S.C § 371 of PCT application number PCT/KR2017/002459 filed on Mar. 7, 2017 which is based upon and claims the benefit of priority to Korean Patent Application Nos. 10-2016-0124768 and 10-2016-0133474 filed on Sep. 28, 2016 and Oct. 14, 2016, respectively, in the Korean Intellectual Property Office. The disclosures of the above-listed applications are hereby incorporated by reference herein in their entirety.

TECHNICAL FIELD

The present invention relates to a normalized metadata generation device and method, and an object occlusion detection device and method capable of detecting an occluded state of an object through image analysis.

BACKGROUND ART

A multi-camera based video surveillance system produces huge amounts of data every day. In order to detect meaningful information from the huge amounts of data, the normalized metadata should be extracted to recognize and track an object of interest obtained by multiple cameras including different types of cameras.

As conventional technique, there have been proposed a real-time video retrieval system using video parsing, metadata descriptor and corresponding query mechanism, an object-based image indexing and detection system based on object feature similarity using motion segmentation, and a video retrieval system for semantic-based surveillance which tracks clusters under hierarchical framework. Such an image retrieval system for semantic-based surveillance uses a variety of queries such as keyword-based, multi-object and sketch-based queries.

Also, as conventional technique, there have been proposed a technique for combining recognized video contents with visual words to index and retrieve surveillance video, a multiple trajectory indexing and retrieval system using multiple linear algebraic structure in a reduced dimensional space, a robust retrieval and fast retrieval methods based on time-space graphs, subgraph indexing and Hadoop implementation, a presence indexing algorithm in a tight scene using face level information, a technique for detecting and tracking a plurality of pedestrians using a sociological model to generate trajectory data for video feature indexing, a visual surveillance briefing system based on event features such as object appearance and motion patterns, an autonomous video retrieval system for detecting features of pedestrians in various scenes based on human behavior and appearance, and a technique for searching for a desired object using a trajectory and a shape in an input video.

A common challenge with such conventional video indexing and retrieval methods is to summarize rare events from many data sets generated using multiple cameras including various types of cameras. However, the lack of normalized object information during retrieval has a problem of preventing accurate recognition of the same object obtained from another viewpoint.

In addition, since it is impossible to monitor an individual by monitoring video of the multi-camera based surveillance system, an efficient technique for recognizing important situations by retrieving metadata of an object of interest is required. In other words, in the multi-camera based surveillance system, an object detected by the cameras has different shapes, and therefore, a technology capable of efficiently detecting the object of interest in a wide range is required.

On the other hand, depth information of the object is used for object occlusion detection. A conventional depth estimation method utilizes the parallax of two or more cameras or an additional sensor for depth estimation such as an infrared sensor.

However, there is a problem that the cost is increased due to additional equipment and restriction is caused due to environment. To compensate for this, depth estimation and occlusion detection techniques in which a multiple color-filter aperture is mounted on a single camera have been proposed, but depth estimation and occlusion detection techniques using the multi-color filter apertures require a special aperture. In addition, there occurs problem that color distortion occurs at the boundary of an object on the out-focus, which requires additional distortion correction processing.

DISCLOSURE Technical Problem

An object of the present invention is to provide a normalized metadata generation device and method, which accurately detect an object of interest from various videos obtained by various types of cameras of a multi-camera based image surveillance system for searching for an object of interest in a wide range, and extract normalized metadata of the detected object of interest.

Another object of the present invention is to provide an object occlusion detection device and method capable of detect an occluded state of an object by automatic camera calibration through video analysis without additional equipment or sensor.

Still another object of the present invention is to provide an object occlusion detection device and method capable of accurately tracking and recognizing an object more accurately than the prior art, by applying the same to an existing surveillance camera without additional cost.

Technical Solution

According to an aspect of the present invention, a normalized metadata generation method, which is to be performed by a metadata generation device of a multi-camera based video surveillance system including different kinds of cameras is disclosed.

A metadata generation method according to an embodiment of the present invention includes generating a multi-ellipsoid based three-dimensional (3D) human model using perspective features of a plurality of two-dimensional (2D) images obtained by the multiple cameras, performing scene calibration based on the three-dimensional human model to normalize object information of the object included in the two-dimensional images, and generating normalized metadata of the object from the two-dimensional images on which the scene calibration is performed.

The generating of the three-dimensional human model may generate a human model having a height from a foot position using three ellipsoids including a head, a body, and a leg in 3D world coordinates.

The ellipsoid may be back-projected onto a two-dimensional space to match an actual object to perform shape matching.

A moving object region may be detected by background modeling using a Gaussian mixture model (GMM) and a detected shape is normalized, to perform the shape matching.

The normalized shape may be calculated as a set of boundary points and each of the boundary points may be generated at a position where a radial line from a center of gravity meets an outermost boundary of the object.

The performing of the scene calibration may include extracting valid data for line segments from the foot to the head, estimating homology from the foot to the head using the extracted valid data, and detecting a vanishing line and a vanishing point from the homology.

The valid data may be selected according to a first condition that the line segment from the foot to the head is within a restricted region with respect to a y-axis and a second condition that the line segment from the foot to the head is a major axis of an ellipse to be approximated to a human object.

An angle, a major axis and a minor axis of the object may be calculated through matching operation between the object and the ellipsoid to acquire the valid data.

Invalid data may be removed from the extracted valid data using robust random sample consensus (RANSAC) to prevent error due to the homology from the foot to the head

The vanishing line and the vanishing points may be determined by three human positions which are not on the same line.

The vanishing line and the vanishing points may be determined by three human positions which are not on the same line.

The vanishing points may be points under the ground plane, at which line segments from the foot to the head respectively representing positions of humans standing at various positions on the ground plane extend and meet each other.

The vanishing line may be a line segment connecting a first point and a second point, wherein the first point may be a point at which a straight line connecting head points of a first human position and a second human position and a straight line connecting foot points of the first human position and the second human meet each other, the second point may be a point at which a straight line connecting head points of the first human position and a third human position and a straight line connecting foot points of the first human position and the third human meet each other.

The homology from the foot to the head may be determined by calculating a projection matrix of a camera using the vanishing line, the vanishing points, and an object height.

The projection matrix may project an object on the two-dimensional image onto the three dimensional world coordinates which are not affected by camera parameters.

Internal parameters and external parameters of the camera may be estimated using the detected vanishing line and the vanishing points, and the internal parameters may include a focal length, a principal point and an aspect ratio, and the external parameters include a panning angle, a tilting angle, a rolling angle, a camera height with respect to the z-axis, transformation in x-axis and y-axis directions.

The generating of the normalized metadata of the object may include compensating colors of the two-dimensional image, extracting representative color information, extracting non-color metadata, and integrating the extracted metadata into one data model.

The compensating of the colors may include estimating a color of a light source by calculating a modified Minkowsky norm based color considering local correlation using the following equation and

$\left( \frac{\int{\left( {f^{\sigma}(x)} \right)^{p}{dx}}}{\int{dx}} \right)^{1/p} = {ke}$ where f(x) represents an image defined as an image x=[x y]^(T), f^(σ)=f*G^(σ), filtered by the Gaussian filter G^(σ) and the Minkowsky norm p,

compensating the estimated color of the light source using the following equation. f _(corr) ^(c) =f _(c)/ω_(c) ³, force c∈{R,G,B} where f_(corr) ^(c) represents a color-corrected c-channel image, f_(c) represents a c-channel image and ω_(c) represents a scaling parameter.

The extracting of the representative color information may include extracting the representative color information of the object by performing K-means clustering on the object region detected from the two-dimensional image of which the colors are compensated.

The non-color metadata may include size information including the height and width of the object, moving speed information of the object, aspect ratio information, and trajectory information.

The height (H_(o)) is calculated by the following equation.

$H_{O} = \frac{{\left( {P_{2,1} - {P_{3,1} \cdot y}} \right)X} + {\left( {P_{2,2} - {P_{3,2} \cdot y}} \right)Y} + P_{2,2} - {P_{3,2} \cdot y}}{{P_{3,3} \cdot y} - P_{2,3}}$ where P denotes the projection matrix, y denotes the y coordinate on the image plane.

The width (W_(o)) may be calculated by the following equation. W _(o) =|X _(o) −X′ _(o)|·ω_(i) where X_(o) represents a foot position on the three-dimensional world coordinates, X′_(o) represents a foot position corresponding to one pixel-shifted foot position on the image plane, and W_(i) represents a width of the object on the image plane.

The moving speed information (S_(o)) may be calculated by the following equation: S _(o)=√{square root over ((X _(o) ^(t) −X _(o) ^(t′))²+(Y _(o) ^(t) −Y _(o) ^(t′))²)} where (X_(o) ^(t), Y_(o) ^(t)) represents a position of the object on the world coordinates in a t-th frame, and (X_(o) ^(t′), Y_(o) ^(t′)) represents a position of the object one second earlier.

The aspect ratio (R_(o)) information may be calculated by the following equation. R _(o) =H _(i) /W _(i) where H_(i) and W_(i) respectively represent the height and width of the object on the image plane.

The trajectory information (T_(o)) may be calculated using four positions on trajectory by the following equation. T _(o)=[x ₀ ¹ ,y ₀ ¹ ,x ₀ ² ,y ₀ ² ,x ₀ ³ ,y ₀ ³ ,x ₀ ⁴ ,y ₀ ⁴]^(T) where [x₀ y₀]^(T) is the start position, [x₁ y₂]^(T) is the 1/3 position, [x₂ y₂]^(T) is the 2/3 position, and [x₄ y₄]^(T) is the end position.

According to another aspect of the present invention, a normalized metadata generation device for a multi-camera-based video surveillance system including different kinds of cameras is disclosed.

The normalized metadata generation device includes a normalized metadata generation includes a memory configured to store instructions, and a processor configured to execute the instructions, wherein the instructions execute a normalized metadata generation method including, generating a multi-ellipsoid based three-dimensional (3D) human model using perspective features of a plurality of two-dimensional (2D) images obtained by the multiple cameras, performing a scene calibration based on the 3D human model to normalize object information of the object included in the 2D images, and generating normalized metadata of the object from the two-dimensional images on which the scene calibration is performed.

According to still another aspect of the present invention, an object occlusion detection method capable of detecting an occluded state of an object through camera automatic calibration through image analysis.

According to an embodiment of the present invention, there may be provided an object occlusion detection method including (a) inputting a current frame into a background model, extracting an object region using the background model, and detecting a vanishing point and a vanishing line using the extracted object region, (b) calibrating camera parameters using the vanishing point and the vanishing line, (c) estimating a depth of an object by inversely projecting positions of a part of the object onto a ground plane in a 3D space using a result of calibration of the camera parameters, (d) estimating a variation in the depth of the object using the estimated depth of the object and a depth of the object estimated in a previous frame, and (e) detecting occlusion of the object in the current frame using the variation in the depth of the object.

The step (a) may include detecting a foot position and a head position of the object region, and detecting the vanishing point and the vanishing line at least one of a parallel line connecting the detected foot position the head position and background line information.

The step (a) may include selecting, as the vanishing point, at least three intersection points intersecting the background line information when a number of the detected foot positions and head positions is smaller than a reference number, detecting at least one vertical vanishing point of the selected vanishing points, and detecting a line connecting remaining vanishing points of the selected vanishing points as a horizontal vanishing line.

The step (a) may include detecting a vertical vanishing point using the foot positions and the head positions of the object when the number of the detected foot positions and head positions is greater than a reference number and the object linearly moves, and detecting a horizontal vanishing line using the background line information.

The step (a) may include detecting a vertical vanishing point using a line connecting the foot position and the head position when the number of the detected foot positions and head positions is greater than a reference number and the object does not move linearly, and determining a horizontal vanishing point using a line connecting the detected foot positions and a line connecting the head positions and detecting a horizontal vanishing line by connecting the determined horizontal vanishing points.

The step (b) may include calibrating camera parameters using the vanishing point and the vanishing line based on the following equation.

$f = \sqrt{\left( {{a_{3}/a_{2}} - p_{y}} \right)\left( {v_{y} - p_{y}} \right)}$ ρ = atan(−v_(x)/v_(y)) $\theta = {{atan}\left( {{- \sqrt{v_{x}^{2} + v_{y}^{2}}}/f} \right)}$ $h_{c} = {h_{o}/\left( {1 - \frac{{d\left( {o_{h},v_{l}} \right)}{{o_{f} - v}}}{{d\left( {o_{f},v_{l}} \right)}{{o_{h} - v}}}} \right)}$ Where f denotes the focal length, ρ denotes the roll angle, θ denotes the tilt angle, h_(c) denotes the camera height, ν_(l) denotes the horizontal vanishing line, ν=[ν_(x) ν_(x)]^(T) denotes the vertical vanishing point, h_(o) denotes the object height, o_(f) denotes the foot position of the object, o_(h) denotes the head position of the object, and d(A,B) denotes the distance between position A and position B.

The step (c) may include inversely projecting the foot position of the object onto the reference plane in the 3D space to estimate the depth of the object.

According to still another aspect of the present invention, an object occlusion detection device capable of detecting an occluded state of an object through camera automatic calibration through image analysis.

According to an embodiment of the present invention, there may be an object occlusion detection device including a camera calibration unit that inputs a current frame to a background model, extracts an object region using the background model, detects a vanishing point and a vanishing line using the extracted object region and calibrates camera parameters using the vanishing point and the vanishing line, a depth estimation unit that inversely projects positions of a part of the object onto a ground plane in a 3D space using a result of calibration of the camera parameters and estimate a depth of an object, and a detection unit that calculates a variation in the depth of the object using the estimated depth of the object and a depth of the object estimated in a previous frame and detects occlusion of the object in the current frame using the variation in the depth of the object.

The camera parameter calibration unit may detect a foot position and a head position of the object region, detect the vanishing point and the vanishing line using at least one of a parallel line connecting the detected foot position and the head position and background line information, and calibrate the camera parameters using the vanishing point and the vanishing line.

Advantageous Effects

According to the embodiments of the present invention, the normalized metadata generation device and method accurately detects an object of interest from various images obtained by various kinds of cameras of a multi camera based video surveillance system for searching an object of interest in a wide range The extracted normalized metadata of the object of interest can be extracted, and no special pattern or depth measurement is required for camera calibration.

Also, by providing the object occlusion detection device and method according to an embodiment of the present invention, an occluded state of an object can be detected through automatic camera calibration through image analysis without additional equipment or a sensor.

In addition, the present invention is advantageous in that object tracking and object recognition can be performed more accurately than conventional methods by applying the present invention to an existing surveillance camera without additional cost.

DESCRIPTION OF DRAWINGS

FIG. 1 is a flowchart of a normalized metadata generation method according to an embodiment of the present invention;

FIGS. 2 to 13 are diagrams for describing a normalized metadata generation method according to an embodiment of the present invention;

FIGS. 14 to 28 are diagrams showing experimental results for a normalized metadata generation method according to an embodiment of the present invention;

FIG. 29 is a diagram schematically illustrating a configuration of a normalized metadata generation device according to an embodiment of the present invention;

FIG. 30 is a flowchart of an object occlusion detection method according to an embodiment of the present invention;

FIG. 31 is a diagram for describing a camera projection model according to an embodiment of the present invention;

FIGS. 32A-32B are diagrams showing lines connecting foot positions and head positions and background lines according to an embodiment of the present invention;

FIG. 33 is a diagram illustrates focal length estimation errors according to the number of data sets of foot and head positions according to an embodiment of the present invention;

FIG. 34 is a diagram illustrating a vanishing point and a vanishing line according to an embodiment of the present invention;

FIG. 35 is a view for explaining object depth prediction according to an embodiment of the present invention;

FIG. 36 is a block diagram schematically showing an internal configuration of an object occlusion detection device according to an embodiment of the present invention; and

FIGS. 37A-37D are diagrams showing results of object occlusion detection according to the embodiment of the present invention.

MODE FOR INVENTION

As used herein, the singular forms are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “comprises” and/or “comprising”, or “includes” and/or “including”, when used in this specification, specify the presence of stated elements and/or steps, but do not preclude the presence or addition of one or more other elements and/or steps thereof. The terms “part,” “module,” “device” or the like used in the specification means a unit of processing at least one function or operation and may be implemented by hardware or software or a combination of hardware and software.

Hereinafter, various embodiments of the present invention will be described with reference to the accompanying drawings.

FIG. 1 is a flowchart of a normalized metadata generation method according to an embodiment of the present invention, and FIGS. 2 to 13 are diagrams for describing a normalized metadata generation method according to an embodiment of the present invention. A normalized metadata generation method according to an embodiment of the present invention is described with reference to FIG. 1 and FIGS. 2 to 13.

In step S110, the metadata generation device generates a three-dimensional human model.

A multi-camera based video surveillance system should be able to retrieve the same objects from multiple scenes generated by different cameras using appropriate queries. However, non-normalized object information causes a search error. In order to normalize the object information, camera parameters are estimated using automatic scene calibration, and a projection matrix is estimated using the camera parameters obtained by scene calibration. After the normalized object information is obtained, the object in the two-dimensional image is projected onto the three-dimensional world coordinate using the projection matrix. Conventional camera calibration methods use a special calibration pattern in common. This calibration pattern extracts feature points from a planar pattern board and estimates camera parameters using a closed-form solution. However, this particular calibration pattern-based algorithm has limitations because manual calibration of multiple cameras at the same time is impractical and imprecise. In order to solve this problem, a multi-ellipsoid based three-dimensional human model using perspective characteristics of a two-dimensional image is used in the present invention.

When it is assumed that X_(f)=[X_(f)Y_(f)1]^(T) is a foot position in a ground plane, and x_(f)=[x_(f)y_(f)1]^(T) is a corresponding foot position in the image plane of all homogeneous coordinates, x_(f) and X_(f) may be calculated using homography as follows. x _(f) =H ⁻¹ x _(f)  [Equation 1] Where H=[p₁p₂p₃]^(T) is a 3×3 homography matrix, p_(i) (i=1, 2, 3) is the first three columns of a 3×4 projection matrix P calculated by estimating the camera parameters.

Then, a human model having a height h from the foot position is generated using a three-dimensional ellipsoid including the head Q_(h), the body Q_(t), and the leg Q_(l) in the 3D world coordinates. The 4×4 matrix of the ellipsoid is defined as follows:

$\begin{matrix} {Q_{k} = \begin{bmatrix} \frac{1}{R_{X}^{2}} & 0 & 0 & {- \frac{X_{c}}{R_{X}^{2}}} \\ 0 & \frac{1}{R_{Y}^{2}} & 0 & {- \frac{Y_{c}}{R_{Y}^{2}}} \\ 0 & 0 & \frac{1}{R_{Z}^{2}} & {- \frac{Z_{c}}{R_{Z}^{2}}} \\ {- \frac{X_{c}}{R_{X}^{2}}} & {- \frac{Y_{c}}{R_{Y}^{2}}} & {- \frac{Z_{c}}{R_{Z}^{2}}} & {\frac{X_{c}^{2}}{R_{X}^{2}} + \frac{Y_{c}^{2}}{R_{Y}^{2}} + \frac{Z_{c}^{2}}{R_{Z}^{2}}} \end{bmatrix}} & \left\lbrack {{Equation}\mspace{14mu} 2} \right\rbrack \end{matrix}$ Where Q_(k)(k∈{h, t, l}) represents the ellipsoid matrix of the head, the body, and the leg, respectively. R_(X), R_(Y) and R_(Z) represent the ellipsoidal radii for the X, Y and Z coordinates and a center of the ellipsoid ([X_(c) Y_(c) Z_(c)]^(T)).

For example, the average heights for a child, a juvenile, and an adult was set to 100 cm, 140 cm, and 180 cm, respectively for application to real human models. The ratio of head, body and leg is set to 2:4:4.

Each ellipsoid is back-projected to match an actual object in a two-dimensional space. The 3×3 ellipsoid back-projected is defined as C_(k) by the projection matrix P. C _(k) ⁻¹ =PQ _(K) ⁻¹ ^(P) ^(T)  [Equation 3] where C represents an ellipsoid matrix such as u^(T)Cu=0. FIG. 2 shows the results of several ellipsoids back-projected at different positions. In FIG. 2, three different ellipsoids in each dotted box have the same height.

A multi-ellipsoid-based human model is generated according to the position and height of an object from multiple cameras. The first step in generating a human model is to perform shape matching in an image. In the embodiment of the present invention, in order to match shapes, a moving object region is detected by background modeling using a Gaussian mixture model (GMM), and the detected shapes are normalized. Since the concrete shapes differs from each other depending on the position and size of the object, the normalized shape is represented by a set of boundary points. More specifically, each boundary point is created at a position where a radial line from the center of gravity meets the outermost boundary of the object. Assuming that the angle between adjacent radial lines is θ, the number of boundary points becomes N=360°/θ. The corresponding human model corresponding to the shape of the object may be defined as follows. B=[j ₁ j ₂ . . . j _(N)], and M _(i)=[o ₁ ^(i) o ₂ ^(i) . . . o _(N) ^(i)]  [Equation 4] Where B denotes the type of the object, i∈{child, juvenile, and adult}, M_(i) is the form of the human model, and N is the number of the normalized form. For example, when θ=5°, N=72 is resulted.

The matching error between B and M_(i) is defined as follows:

$\begin{matrix} {e_{i} = {\sum\limits_{l = 1}^{N}\;\left( {j_{l} - o_{l}^{i}} \right)^{2}}} & \left\lbrack {{Equation}\mspace{14mu} 5} \right\rbrack \end{matrix}$

As a result, an ellipsoid-based human model with the minimum matching error e_(i) is selected for three human models including a child, a juvenile, and an adult. When the matching error is greater than the threshold T_(e), the object is classified as non-human. Thus, when the threshold T_(e) is very large, a non-human object may be classified as human. On the other hand, when the threshold T_(e) is very small, human detection may fail. For this reason, T_(e)=8 was chosen experimentally for best human detection performance. The result of shape matching of the ellipsoid-based human models may be displayed in conformity with actual objects as shown in FIGS. 3A-3D. In this case, moving pedestrians are detected and matched by ellipsoid-based human models. Ellipsoid-based matching fails when a moving object is detected incorrectly. However, some of the exact matching results may compensate for rare failures.

Referring again to FIG. 1, in step S120, the metadata generation device performs scene Calibration based on the generated 3D human model.

Cameras with different inner and outer parameters produce different sizes and velocities in the two-dimensional image plane for the same object in three-dimensional space. To recognize the same object in the multi-camera based video surveillance system, detection and tracking need to be performed in 3D world coordinates that are not affected by camera parameters. The normalized physical information of an object may be extracted in two steps. The first step is automatic scene calibration for estimating a projection matrix of the camera, and the second step is object projection to the world coordinates using a projection matrix. An automatic scene calibration method according to an embodiment of the present invention assumes that a foot-to-head line of a human object is perpendicular to the xy plane in the world coordinates and parallel to the z-axis.

The automatic scene calibration method according to the embodiment of the present invention is composed of three steps as shown in FIG. 1. Step 1 (step S121) is to extract valid foot and head data to calculate homology from foot to head, step 2 (step S122) is to estimate homology using the valid data from foot to head, and step 3 (step S123) is to calibrate the camera by detecting a vanishing line and vanishing points by using the homology from foot to head.

Hereinafter, the homology from the foot to the head will be described.

In Euclidean geometry, two parallel lines do not meet anywhere. On the other hand, in projective geometry, two parallel lines meet at a point called a vanishing point. A line connecting the two vanishing points is called a vanishing line, as shown in FIG. 4.

Conventional single image based methods for estimating vanishing points and vanishing lines often fail to estimate vanishing points and vanishing lines when there is no line segment component in a background image. In order to overcome the limitation of the background generation based method, a foreground object based vanishing point detection method has recently been proposed. Since a camera of a general video surveillance system is installed at a position at which a point of looking at an object is higher than the ground plane, the lines from the foot to the head of a standing person at various positions of the ground plane corresponding to the XY plane meet at one point on the ground plane as shown in FIG. 5. Here, each position of a person is represented by a line segment connecting between the bottom foot and the top head. When the line segments from the foot to the head are extended, they meet at a vertical vanishing point V_(o) under the ground plane. In FIG. 5, a straight line connecting the head points of Positions 1 and 2 meets another straight line connecting the foot points of the same Positions at p1. Similarly, p2 is determined by Positions 1 and 3. Thus, three human positions, which are not on the same line, determine the horizontal vanishing line VL and the vertical vanishing point V_(o).

The vanishing line and the vanishing point are used to estimate the projection matrix of a camera. More specifically, assuming that X=[X Y Z 1]^(T) is a point in the uniform world coordinates, its projection transformation becomes x=PX Here, P is a projection matrix. When x=[x y z 1]^(T) is given, corresponding points in the image plane are determined to be x=x/z and y=y/z. Since the XY plane is assumed to be a ground plane, a foot position in the world coordinates is X_(f)=[X Y 0]^(T) and the projected foot position is x _(f)=H_(f) X _(f). Here, X _(f)=[X Y Z 1]^(T). x _(h)=H_(h) X _(h) may be calculated by the same method as a method of moving the XY plane to a head plane. Here, H_(f) and H_(h) are 3×3 matrices. Since the head position is projected onto the corresponding foot position, X _(f)=X _(h) and it may be expressed as: x _(h) =H _(hf) xf x _(f) =H _(fh) x _(h)  [Equation 6] Where H_(hf)=H_(h)H_(f) ⁻¹ and H_(fh)=H_(f)H_(h) ⁻¹ both are 3×3 matrixes and H_(hf)=H_(fh) ⁻¹ is resulted. When the foot position coordinates on the ground plane are given, the corresponding head position in the image plane be may determined using H_(hf). H=H_(fh) is defined as the homology from foot to head and may be determined by calculating the projection matrix P using the vanishing point, the vanishing line, and an object height Z.

As described above, step S120 of performing automatic scene calibration includes step S121 of extracting valid data of foot and head, step S122 of estimating a homology from foot to head using the extracted valid data, and step S123 of detecting the vanishing line and the vanishing point. A human model is detected using a Gaussian mixture model. The detected object region is subjected to a morphology operation for noise-free labeling. Valid candidate data for the foot and head of the labeled object are selected under two conditions. The first condition is that a line segment from the foot to the head is within a restricted region with respect to the y-axis and the second condition is that the line segment from the foot to the head is the major axis of an ellipse to be approximated to the human object.

To obtain the angle and major and minor axes of the labeled human object, an ellipsoid matching operation is performed. More specifically, the object shape is defined by an outer boundary, as follows. s=[s ₁ s ₂ . . . s _(N)]^(T)  [Equation 7] Where s_(i)=┌x_(i)y_(i)┐^(T) (i=1, . . . , N) denotes an i-th boundary point, and N is the total number of boundary points. An angle of the shape S is calculated using second moments as follow:

$\begin{matrix} {\theta = {\frac{1}{2}{\arctan\left( \frac{2\mu_{1,1}}{\mu_{2,0} - \mu_{0.2}} \right)}}} & \left\lbrack {{Equation}\mspace{14mu} 8} \right\rbrack \end{matrix}$ where μ and x_(c) may be calculated using the following equation:

$\begin{matrix} {\mu_{p,q} = {\sum\limits_{i = 1}^{N}\;{\left( {x_{i} - x_{c}} \right)^{p}\left( {y_{i} - y_{c}} \right)^{q}}}} & \left\lbrack {{Equation}\mspace{14mu} 9} \right\rbrack \\ {{x_{c} = {\frac{1}{N}{\sum\limits_{i = 1}^{N}\; x_{i}}}},{{{and}\mspace{14mu} y_{c}} = {\frac{1}{N}{\sum\limits_{i = 1}^{N}\; y_{i}}}}} & \left\lbrack {{Equation}\mspace{14mu} 10} \right\rbrack \end{matrix}$

In order to calculate the major and minor axes of the ellipsoid, the minimum and maximum inertial moments are first defined respectively as follows:

$\begin{matrix} {{I_{\min} = {\sum\limits_{i = 1}^{N}\;\left\{ {{\left( {x_{i} - x_{c}} \right)\cos\;\theta} - {\left( {y_{i} - y_{c}} \right)\sin\;\theta}} \right\}}}{I_{\max} = {\sum\limits_{i = 1}^{N}\;\left\{ {{\left( {x_{i} - x_{c}} \right)\sin\;\theta} - {\left( {y_{i} - y_{c}} \right)\cos\;\theta}} \right\}}}} & \left\lbrack {{Equation}\mspace{14mu} 11} \right\rbrack \end{matrix}$

The major and minor axes are determined using I_(min) and I_(max) as follows:

$\begin{matrix} {{A_{l} = {\left( \frac{4}{\pi} \right)^{1/4}\left( \frac{I_{\max}^{3}}{I_{\min}} \right)^{1/8}}},{{{and}\mspace{14mu} A_{s}} = {\left( \frac{4}{\pi} \right)^{1/4}\left( \frac{I_{\min}^{3}}{I_{\max}} \right)^{1/8}}}} & \left\lbrack {{Equation}\mspace{14mu} 12} \right\rbrack \end{matrix}$

The aspect ratio of the object is defined as r=A_(l)/A_(s) and candidate foot and head vectors is defined as c=[x_(f) y_(f) x_(h)y_(h)]^(T). “c” is calculated using θ according to the following equation:

$\begin{matrix} {{{x_{f} = {{\left( {y_{\max} - y_{c}} \right)\frac{\cos\;\theta}{\sin\;\theta}} + x_{c}}},{{{and}\mspace{14mu} y_{f}} = y_{\max}}}{{x_{h} = {{\left( {y_{\min} - y_{c}} \right)\frac{\cos\;\theta}{\sin\;\theta}} + x_{c}}},{{{and}\mspace{14mu} y_{h}} = y_{\min}}}} & \left\lbrack {{Equation}\mspace{14mu} 13} \right\rbrack \end{matrix}$ where y_(max) and y_(min) represent the maximum and minimum of y_(i) (i=1, . . . , N), respectively.

A set of valid candidate data C=[c₁ c₂ . . . c_(L)]^(T) is generated from c₁ satisfying the following four conditions.

condition 1: r₁<r<r₂

condition 2: θ₁<θ<θ₂

condition 3: There are s_(i) of which a distance from (x_(f), y_(f)) is less than d₁, and s_(j) of which distance from (x_(h), y_(h)) is less than d₁.

condition 4: There is no pair of c_(i) with a mutual distance less than d₂.

In order to derive the best experimental results, in the first condition, r₁=2 and r₂=5 are set, and in the second condition θ₁=80° and θ₂=100°. In the third and fourth conditions, d₁=3 and d₂=10 are set.

Since valid candidate data C still contains invalid data, a direct computation of homology H from foot to head may cause significant errors. To solve this problem, invalid data is removed from C using robust random sample consensus (RANSAC). Since H has a degree of freedom of 8, it is possible to perform determination using four pieces of valid data. Assuming a vector with eight components of the first row of H is a=[h₁₁h₁₂h₁₃h₂₁h₂₂h₂₃h₃₁h₃₂]^(T), “a” may be determined using the following equation:

$\begin{matrix} {{\begin{bmatrix} x_{f} & y_{f} & 1 & 0 & 0 & 0 & {{- x_{f}}x_{h}} & {{- y_{f}}y_{h}} \\ 0 & 0 & 0 & x_{f} & y_{f} & 1 & {{- x_{f}}y_{h}} & {{- y_{f}}y_{h}} \end{bmatrix}a} = \begin{bmatrix} x_{h} \\ y_{h} \end{bmatrix}} & \left\lbrack {{Equation}\mspace{14mu} 14} \right\rbrack \end{matrix}$

Since two linear forms given by a candidate vector are generated through Equation 14, “H” may be determined as four candidate vectors.

A head position of each candidate vector is estimated using H and determined by a corresponding foot position in order to see how much valid data supports the estimated “H”. The estimated head position is compared with an actual head position, and the candidate vector is considered to support H when an error is sufficiently small. This process is repeated a given number of times, and the candidate vector that supports the optimal H becomes valid. Equation 14 is generated with the valid data. Generally, many valid data yields eight or more mathematical expressions, and the vector “a”, which is equivalent to the matrix “H”, is determined using pseudo inverse. Even through invalid data is generated by occlusion, grouping and non-human objects, the correct valid data may be estimated while the process is repeated and the candidate data is accumulated.

When given an estimated foot-to-head homology “H”, two arbitrarily selected foot positions generate corresponding two head positions. Two line segments connecting two pairs of foot and head positions meet at the vanishing point. More specifically, in a three-dimensional world coordinate, a line segment may be represented using the vector l=[a b c]^(T) and satisfies the following linear form: ax+by+c=0  [Equation 15] where line segment coefficients {a, b, c} are determined using two points p=[p_(x) p_(y)]^(T) and q=[q_(x), q_(y)]^(T) as follows: a=p _(y) −q _(y) b=P _(x) −q _(x) c=(p _(y) −q _(y))q _(x)+(p _(x) −q _(x))q _(y)  [Equation 16]

When the two line segments l₁ and l₂ meet at the vanishing point V_(o), a relationship such as the following equation is satisfied. V _(o) =l ₁ ×l ₂  [Equation 17]

To determine the vanishing line, three candidate vectors {c₁, c₂, c₃} are needed.

The two line segments connecting the pairs of feet and head connecting c₁ and c₂ meet at one point. This one point is r=[r_(x) r_(y)]^(T).

Similarly, another point s=[s_(x) s_(y)]^(T) is determined using c₂ and c₃. The line connecting the two points r and s is the vanishing line V_(L). Given V₀ and V_(L), the camera parameters may be estimated as shown in FIGS. 6A-6C. That is, in FIG. 6A is valid data, FIG. 6B is actually-measured data of the homology, and FIG. 6C is the estimated homology.

Internal parameters include a focal length f, a principal point [c_(x) c_(y)]^(T), and the aspect ratio “a”. Assuming that the principal point is the same as the center of the image, a=1, and that there is no skew, the internal parameters of the camera may be briefly expressed as follows:

$\begin{matrix} {K = \begin{bmatrix} f & 0 & c_{x} \\ 0 & f & c_{y} \\ 0 & 0 & 1 \end{bmatrix}} & \left\lbrack {{Equation}\mspace{14mu} 18} \right\rbrack \end{matrix}$

The external parameters include a panning angle α, a tilting angle θ, a rolling angle ρ, a camera height for the z axis, and translation in the x and y axis directions. Assuming α=0, x=y=0, the camera projection matrix is obtained as the product of the internal and external parameter matrixes, as follows:

$\begin{matrix} {P = {{{K\begin{bmatrix} {\cos\;\rho} & {{- \sin}\;\rho} & 0 \\ {\sin\;\rho} & {\cos\;\rho} & 0 \\ 0 & 0 & 1 \end{bmatrix}}\begin{bmatrix} 1 & 0 & 0 \\ 0 & {\cos\;\rho} & {{- \sin}\;\rho} \\ 0 & {\sin\;\rho} & {\cos\;\rho} \end{bmatrix}}\begin{bmatrix} 1 & 0 & 0 & 0 \\ 0 & 1 & 0 & 0 \\ 0 & 0 & 1 & {- h_{c}} \end{bmatrix}}} & \left\lbrack {{Equation}\mspace{14mu} 19} \right\rbrack \end{matrix}$

A vertical vanishing point for the z axis V₀=[v_(x) v_(y) 1]^(T) provides, along with the point [x y 1]^(T) at the horizontal vanishing line, the following constraints:

$\begin{matrix} {{v_{0}^{T}{\omega\begin{bmatrix} x \\ y \\ 1 \end{bmatrix}}} = 0} & \left\lbrack {{Equation}\mspace{14mu} 20} \right\rbrack \end{matrix}$ Here, ω=K^(−T)K⁻¹ denotes an image of the absolute conic (IAC). Substituting the expression 18 into the expression 20, the following expression is calculated.

$\begin{matrix} {{{v_{x}x} + \frac{v_{y}}{a^{2}} + f^{2}} = 0} & \left\lbrack {{Equation}\mspace{14mu} 21} \right\rbrack \end{matrix}$

This shows that the horizontal vanishing line may be determined by the vertical vanishing point and the focal length, and a rotation parameter may be calculated from v_(x), v_(y), f as follows.

$\begin{matrix} {{\rho = {\arctan\frac{- {av}_{x}}{v_{y}}}},{{{and}\mspace{14mu}\theta} = {\arctan\; 2\left( {\sqrt{{a^{2}v_{x}^{2}} + v_{y}^{2}} - {af}} \right)}}} & \left\lbrack {{Equation}\mspace{14mu} 22} \right\rbrack \end{matrix}$ Where a=1.

According to the embodiment of the present invention, f, ρ, and θ may be calculated by estimating the vanishing line and the vanishing point using Equations 21 and 22. The camera height h_(c) can be calculated using the height of an actual object in the world coordinates h^(w), the vanishing line V_(L), and the vanishing point V_(O) using the following equation:

$\begin{matrix} {\frac{h^{w}}{h_{c}} = {1 - \frac{{d\left( {p_{h},V_{L}} \right)}{d\left( {p_{f},V_{O}} \right)}}{{d\left( {p_{f},V_{L}} \right)}{d\left( {p_{h},V_{O}} \right)}}}} & \left\lbrack {{Equation}\mspace{14mu} 23} \right\rbrack \end{matrix}$ Where p_(f) and p_(h) represent positions of the foot and head of the i-th object respectively and d(a, b) represents a distance between points a and b. In the experiment, h^(w)=180 cm was used as the reference height.

Referring again to FIG. 1, in step S130, the metadata generation device generates metadata of an object. Step S130 of generating metadata includes step S131 of compensating colors of the input image, step S132 of extracting representative colors, step S133 of extracting non-color metadata, and step S134 of integrating the extracted metadata into one data model.

After performing object-based multi-camera calibration, the object's metadata needs to be extracted with a given query for normalized object indexing. In this task, the query of the object consists of representative colors in the HSV color space, horizontal and vertical meter sizes, a moving speed of meters per second, an aspect ratio, and a moving trajectory.

The color temperature of the object may vary for different cameras. In order to minimize this color change problem, the present embodiment of the present invention performs color constancy operation such as an initial processing step of compensating for white balance of extracted representative colors.

Assuming that the object is illuminated by one light source, the estimated color of the light source is as follows:

$\begin{matrix} {e = {\begin{bmatrix} R_{e} \\ G_{e} \\ B_{e} \end{bmatrix} = {\int_{w}{{e(\lambda)}{s(\lambda)}{c(\lambda)}d\;\lambda}}}} & \left\lbrack {{Equation}\mspace{14mu} 24} \right\rbrack \end{matrix}$ where e(λ) represents a light source, s(λ) represents a reflection ratio, c=[R(λ) G(λ) B(λ)]^(T) represents a camera sensitivity function, and ω represents a wavelength spectrum including red, green, and blue.

A color compensation method according to an embodiment of the present invention is based on the shades of gray method. The input image is down-sampled to reduce computational complexity, and simple low pass filtering is performed to reduce noise effect. A modified Minkowsky norm based color considering local correlation may be given as:

$\begin{matrix} {\left( \frac{\int{\left( {f^{\sigma}(x)} \right)^{p}{dx}}}{\int{dx}} \right)^{1/p} = {ke}} & \left\lbrack {{Equation}\mspace{14mu} 25} \right\rbrack \end{matrix}$ where f(x) represents an image defined as an image x=[x y]^(T), f^(σ)=f*G^(σ), filtered by the Gaussian filter G^(σ) and the Minkowsky norm p. The p allows the weights between the measurements to be uniformly distributed, and vice versa. An appropriate choice of the p prevents the light source from being deflected into the detail color channel. In the experiment, p=6 was used to derive the best result for color compensation for multiple cameras. As a result, scaling parameters {ω_(R), ω_(G), ω_(B)} may be determined using colors of the estimated light source. Modified colors may be given as follows: f _(corr) ^(c) =f _(c)/ω_(c) ³, for c∈{R,G,B}  [Equation 26]

FIGS. 7A-7B show a result of color correlation using three different cameras. That is, FIG. 7A represents input images obtained by the three different cameras, and FIG. 7B represents a color correlation image using the shades of gray method. The color correlation estimates the normalized light source, thereby minimizing inter-frame color distortion.

In a representative color extraction method according to the embodiment of the present invention, a K-means transformed into the HSV color space to minimize the inter-channel clustering algorithm is used. The input RGB image is correlation, as follows.

$\begin{matrix} {{H = {\arctan\frac{\sqrt{3}\left( {G - B} \right)}{\left( {R - G} \right) + \left( {R - B} \right)}}},{S = {1 - \frac{\min\left( {R,G,B} \right)}{V}}},{V = \frac{R + G + B}{3}}} & \left\lbrack {{Equation}\mspace{14mu} 27} \right\rbrack \end{matrix}$

It is assumed that j_(n)=[H_(n) S_(n) V_(n)]^(T) is an HSV color vector of an n-th (n=1, . . . , N) pixel. In this case, N is the total number of pixels in the image. The initial K pixels are arbitrarily selected to generate a set of mean vectors {g₁, . . . , g_(K)}. The g_(i) (i=1, . . . , K) represents a selected HSV color vector. For each color vector, when j_(n) is very close to g_(i), j_(n) has label J_(i) as follows: J _(i) ={j _(n) |d(j _(n) ,g _(i))≤d(j _(n) ,g _(b)), for b=1, . . . , K}  [Equation 28]

Each mean vector g_(i) is updated by the mean of j_(n) in the cluster J_(i), and the entire process is repeatedly performed until no further change occurs in g_(i). FIGS. 8A-8B show results of K-means clustering in RGB(FIG. 8A) and HSV color space (FIG. 8B) when K=3.

The fundamental problem of K-means clustering is that it is dependent on the initial cluster set, as shown in FIGS. 9A-9C. FIG. 9A represents an input image, FIG. 9B represents another result of K-means clustering, and FIG. 9C represents aligned colors of FIG. 9B.

Since a single try of K-means clustering cannot guarantee representative color extraction, each frame generates a candidate color while tracking the object, and eventually only the top 25% of the stored candidate colors are selected. As a result, the representative color of the object is extracted accurately with some errors. FIGS. 10A-10D show an object in which representative colors are extracted. That is, FIG. 10A shows an input image including two persons, FIG. 10B shows a result of color selection, FIG. 10C shows an input image of a vehicle, and FIG. 10D shows a result of color selection.

When multiple cameras are used in video surveillance systems, the size and speed of an object are measured differently by different cameras. The normalized metadata of the object should be extracted from the world coordinates using camera parameters with which physical object information is accurately extracted.

When the projection matrix P and the coordinates of the foot and head are on the image plane, the height of the physical object may be calculated in meters. In order to extract physical information of an object from the three-dimensional world coordinates, the foot position on the ground plane {tilde over (X)}_(f)=H⁻¹{tilde over (x)}_(f) is required to be calculated using Equation 1. On the other hand, the y coordinate on the image plane is calculated as follows:

$\begin{matrix} {y = \frac{{P_{2,1} \cdot X} + {P_{2,2} \cdot Y} + {P_{2,3} \cdot H_{O}} + P_{2,4}}{{P_{3,1} \cdot X} + {P_{3,2} \cdot Y} + {P_{3,3} \cdot H_{O}} + P_{3,4}}} & \left\lbrack {{Equation}\mspace{14mu} 29} \right\rbrack \end{matrix}$ Where P represents a projection matrix, and H_(o) represents an object height. Using Equation 29, H_(o) may be calculated from y as follows:

$\begin{matrix} {H_{O} = \frac{\begin{matrix} {{\left( {P_{2,1} - {P_{3,1} \cdot y}} \right)X} + {\left( {P_{2,2} - {P_{3,2} \cdot y}} \right)Y} +} \\ {P_{2,2} - {P_{3,2} \cdot y}} \end{matrix}}{{P_{3,3} \cdot y} - P_{2,3}}} & \left\lbrack {{Equation}\mspace{14mu} 30} \right\rbrack \end{matrix}$

The width of the object W_(o) is calculated as follows. W _(O) =|X _(O) −X′ _(O) |·W _(i)  [Equation 31] Where X_(o) represents a foot position on the three-dimensional world coordinates, X′_(o) represents a foot position corresponding to one pixel-shifted foot position on the image plane, and W_(i) represents a width of the object on the image plane. FIGS. 11A-11B show an estimation result of the normalized object size. As shown in FIGS. 11A-11B, the estimated object height does not change while the object is moving. FIGS. 11A-11B show a result of size estimation of the same object, FIG. 11A shows a case where the object is far from the camera, and FIG. 11B shows a case where the object is close to the camera.

The object speed S_(o) can be calculated as follows. S _(o)=√{square root over ((X _(o) ^(t) −X _(o) ^(t′))²+(Y _(o) ^(t) −Y _(o) ^(t′))²)}  [Equation 32] Where (X_(o) ^(t), Y_(o) ^(t)) represents a position of the object on the world coordinates in a t-th frame, and (X_(o) ^(t′), Y_(o) ^(t′)) represents the position of the object one second earlier. However, direct estimation of S_(o) from the foot position of the object is not robust due to object detection error. To solve this problem, the Kalman filter compensates for a velocity estimation error. FIGS. 12A-12B show results of estimation of the object velocity in a case where the Kalman filter is used and a case where the Kalman filter is not used. That is, FIG. 12A shows before the application of the Kalman filter and FIG. 12B shows after the application of the Kalman filter.

The aspect ratio of the object is simply calculated as follows: R _(O) =H _(i) /W _(i)  [Equation 33] Where H_(i) and W_(i) represent the object height and width, respectively, in the image plane. Instead of storing the entire trajectory of the object, in the embodiment of the present invention, object information is extracted using four positions in the entire trajectory. The object trajectory is defined as follows: T _(o)=[x ₀ ¹ ,y ₀ ¹ ,x ₀ ² ,y ₀ ² ,x ₀ ³ ,y ₀ ³ ,x ₀ ⁴ ,y ₀ ⁴]_(T)  [Equation 34] Where [x₀ y₀]^(T) is the start position, [x₁ y₂]^(T) is the 1/3 position, [x₂ y₂]^(T) is the 2/3 position, and [x₄ y₄]^(T) is the end position.

Five types of metadata of a representative color, a size, a moving speed, an aspect ratio, and a trajectory described above should be integrated into one data model to be stored in the database. Since object data is extracted from each frame, mean values of sizes, aspect ratios, and velocity data is stored in the right side of the frame before the object disappears. In addition, three representative colors are extracted from the previously selected color set using the K-means clustering algorithm.

The object metamodel containing object features, a serial number and frame information is shown in the table of FIG. 13. As shown in the table of FIG. 13, a frame duration, a moving distance, and an area size are used to classify ‘various objects. Further, when extended to the future, the minimum and maximum values of the object features are stored in the metadata.

FIGS. 14 to 28 are diagrams illustrating experimental results for the normalized metadata generation method according to an embodiment of the present invention.

In order to evaluate performance of the scene calibration method according to an embodiment of the present invention, FIG. 14 summarizes the changes in object-mean values obtained from seven different scenes. In the experiment, normalized physical information of a human object with a height of 175 cm was extracted in various scenes. As shown in FIG. 14, camera parameters are estimated and corrected in each scene. Object A appears 67 times, and an object height is estimated every time.

FIG. 15 shows that the average object height is 182.7 cm and the standard deviation of the object height is 9.5 cm. Since an actual height is 175 cm, an estimation error is 7.5 cm. This is because a reference height h_(w) is set to 180 cm. This result shows that the scene calibration method according to the embodiment of the present invention is suitable to estimate the relative height rather than the absolute value.

FIGS. 16A-16G illustrate results of an experiment for searching for an object using color queries including (a) red, (b) green, (c) blue, (d) yellow, (e) orange, (f) purple, (g) white, and (h) black. FIG. 17 summarizes classification performance using object colors. The right-most column shows the number of all objects and their classification accuracy in parentheses. Experiments may classify objects accurately 96.7% on average.

FIGS. 18A-18H show eight test videos having estimated camera parameters. FIG. 18A AND 18B are two images of a first scene acquired with different camera parameters, FIG. 18C AND 18D are two images of a second scene acquired with different camera parameters, FIG. 18E AND 18F are two images of a third scene acquired with different camera parameters, and FIG. 18G AND 18H are two images of a fourth scene acquired with different camera parameters.

FIGS. 19A-19H show camera calibration results of eight test images in a virtual ground plane of a three-dimensional grid pattern and an ellipsoid with a 180-cm height. FIG. 19A AND 19B are camera calibration results of two images of the first scene acquired with different camera parameters, FIG. 19C AND 19D are camera calibration results of two images of the second scene acquired with different camera parameters FIG. 19E AND 19F are camera calibration results of the two images of the third scene acquired with different camera parameters, and FIG. 19G AND 19H is camera calibration results of the two images of the fourth scene acquired with different camera parameters.

FIGS. 20A-20C show results of an object search experiment using size queries including a child (small, FIG. 20A), a juvenile (medium, FIG. 20B), and an adult (large, FIG. 20C). FIG. 20A shows that the normalized metadata generation method according to an embodiment of the present invention successfully searches for a child less than 110 cm, and FIGS. 20B and 20C show results similar to those of with respect to the juvenile and the adult.

FIG. 21 summarizes classification performance using an object size. The right-most column shows the number of all objects and their classification accuracy in parentheses. Experiments were able to classify objects 95.4% accurately on average.

FIGS. 22A-22C show an experimental result of object search using an aspect ratio. A horizontal query is used to find a vehicle. A normal query is used to find motor cycles and groups of people. A vertical query is used to find a human object. That is, FIGS. 22A-22C show an object search result using horizontal (FIG. 22A), normal (FIG. 22B), and vertical aspect ratios (FIG. 22C).

FIG. 23 shows classification results using the aspect ratios. The right-most column shows the number of all objects and their classification accuracy in parentheses. The experiment was able to classify the objects accurately 96.9% on average.

FIGS. 24A-24C show experimental results of object search using a speed query including slow (FIG. 24A), normal (FIG. 24B), and fast (FIG. 24C).

FIG. 25 shows search results and storing performance using an object velocity. As shown in FIG. 25, more than 95% of objects were accurately classified.

As described above, the tables shown in FIGS. 17, 21, 23, and 25 show the accuracy and reliability of the normalized metadata generation method according to the embodiment of the present invention. More specifically, color based search results show high accuracy with relatively diverse search options. For this reason, object color may be the most important feature for object classification.

FIGS. 26A-26B show experimental results of object search using a user-defined boundary for detecting a moving direction. That is, FIG. 26A shows setting of a line, and FIG. 26B shows a search result.

FIGS. 27A-27D show experimental results of a normalized metadata generation method according to an embodiment of the present invention for a PRW (person re-identification in the wild) data set. That is, FIG. 27A to 27D represent four frames of a test video including people who are newly recognized. As shown in FIGS. 27A-27D, the color and trajectory of the object are accurately classified.

FIG. 28 shows a processing time of the normalized metadata generation method according to the embodiment of the present invention. For measurement of the processing time, a personal computer with a 3.6 GHz quad core CPU and 8 GBytes memory was used. As shown in FIG. 28, it took 20 to 45 ms to process one frame, and an average processing speed was 39 frames per second.

FIG. 29 is a diagram schematically illustrating a configuration of a normalized metadata generation device according to an embodiment of the present invention.

Referring to FIG. 29, a normalized metadata generation device according to an embodiment of the present invention includes a processor 10, a memory 20, a communication unit 30, and an interface 40.

The processor 10 may be a CPU or a semiconductor device that executes processing instructions stored in the memory 20.

The memory 20 may include various types of volatile or non-volatile storage media. For example, the memory 20 may include ROM, RAM, and the like.

For example, the memory 20 may store instructions for performing the normalized metadata generation method according to an embodiment of the present invention.

The communication unit 30 is a means for transmitting and receiving data to and from other devices through a communication network.

The interface unit 40 may include a network interface for connecting to a network and a user interface.

FIG. 30 is a flowchart of an object occlusion detection method according to an embodiment of the present invention, FIG. 31 is a diagram for explaining a camera projection model according to an embodiment of the present invention, and FIGS. 32A-32B are diagrams illustrating lines connecting a foot position and a head position and background lines according to an embodiment of the present invention, FIG. 33 is a diagram illustrating focal length prediction error according to the number of data sets of foot and head positions according to an embodiment of the present invention, and FIG. 34 is a diagram for explaining a vanishing point and a vanishing line according to an embodiment of the present invention, and FIG. 35 is a diagram for explaining object depth prediction according to an embodiment of the present invention.

Before explaining the object occlusion detection method, the linear camera geometry will be briefly described in order to facilitate understanding and explanation.

As well known, 3D spatial information is needed for depth prediction. To obtain projection relationship between the 2D image and the 3D spatial information, camera geometry including camera parameters describing a camera sensor, a lens, an optical axis, and the camera position on the coordinates was used.

In a pin-hole camera model, one point in 3D space may be projected to one point in the 2D image using Equation 35.

$\begin{matrix} {{s\begin{bmatrix} x \\ y \\ 1 \end{bmatrix}} = {{{\begin{bmatrix} f_{x} & {skew} & p_{x} \\ 0 & f_{y} & p_{y} \\ 0 & 0 & a \end{bmatrix}\begin{bmatrix} r_{11} & r_{12} & r_{13} & t_{1} \\ r_{21} & r_{22} & r_{23} & t_{2} \\ r_{31} & r_{32} & r_{33} & t_{3} \end{bmatrix}}\begin{bmatrix} X \\ Y \\ Z \\ 1 \end{bmatrix}} = {{A\left\lbrack {R❘t} \right\rbrack}\begin{bmatrix} X \\ Y \\ Z \\ 1 \end{bmatrix}}}} & \left\lbrack {{Equation}\mspace{14mu} 35} \right\rbrack \end{matrix}$ Where s denotes a scale, [x y 1]^(T) represents a point on a 2D video, matrix A is composed of inherent camera parameters, f_(x) and f_(y) represent x-axis and y-axis focal lengths, skew represents a degree of deformation, a represents an image ratio (video ratio), and R is a camera rotation matrix and is composed of a camera rotation parameter r_(ij). In addition, [t₁ t₂ t₃]^(T) represents a camera translation vector, and [X Y Z 1]^(T) represents a point on a 3D space.

In the embodiment of the present invention, for convenience of understanding and description, description is given under the assumption that f_(x) and f_(y) are identical to each other, a center point is a center of a video, deformation is close to zero, and the image ratio (video ratio) is 1.

It is also assumed that the camera rotation angle with respect to the Z axis is zero, camera translation with respect to the x and y axes is zero, and the outer matrix [R|t] is calculated using Equation 36: [R|t]=[R _(Z)(ρ)R _(X)(θ)T(0,0,h _(c))]  [Equation 36] Where R_(Z) represents a rotation matrix about the Z axis, R_(X) represents a rotation matrix about the X axis, T represents transform for translation, and h_(c) represents a camera height.

In the case of shooting a three-dimensional space, the 2D image is generated by light reflected by an object and arriving at a camera sensor. In this process, a single object is projected onto the 2D image to have a different size depending on a distance from the camera, as shown in FIG. 31. This allows parallel lines in the 3D space to be projected onto an area of the 2D image as non-parallel lines dependent on the depth.

The vanishing point may be predicted at the intersection of non-parallel lines using non-parallel lines that are apparent in the image. A projection camera transform model projects one point in the 3D space onto the camera sensor, and the camera parameters may be predicted using the vanishing point.

One point (position) in the 3D space may be projected onto the camera sensor to correspond to a point (position) in the 2D image using the projection conversion. However, since the camera projection transform is not a 1:1 function, one point of the 2D image is not projected back to a unique point in 3D space.

However, when there is a reference plane, one point of the 2D image may be projected back to a point on the predefined reference plane in a three-dimensional space.

Therefore, it should be understood that a method of detecting the occluded region of an object based on object depth prediction described below predicts an object depth using a 2D image based on a predetermined reference plane.

Hereinafter, a method for detecting an occluded region of an object will be described in detail with reference to FIG. 30.

In step 110, an object occlusion detection device 100 extracts an object region using a background model after inputting a current frame to the background model.

Here, the object occlusion detection device 100 may detect a moving object region by generating a Gaussian mixture model (GGM)-based background model by inputting the current frame. The object region may be detected by labeling an region larger than a reference value.

In step 115, the object occlusion detection device 100 detects a head position and a foot position using the extracted object region, individually.

For example, the object occlusion detection device 100 may determine the vertically highest position—the vertex—as the head position in the object region. In addition, the object occlusion detection device 100 may determine a position of about 20% from the bottom as the foot position, rather than determining the lowest position, in determining a vertically lower position as the foot position in the object region.

In step 120, the object occlusion detection device 100 predicts at least one vanishing point and a vanishing line using the detected head position and foot position.

For example, the object occlusion detection device 100 may detect the at least one vanishing point and the vanishing line by using a pair of parallel lines connecting the detected head position and foot position.

In general, the line connecting the head position and the foot position is not parallel because the lines changes while walking. Accordingly, the object occlusion detection device 100 according to an embodiment of the present invention may detect a uniform height of an object using a case where legs of a pedestrian cross each other. This may be expressed by the following Equation 37.

$\begin{matrix} {{\frac{1}{n}{\sum\limits_{i = 1}^{n}\;\left( {p_{i} - p_{f}} \right)^{2}}} < T_{C}} & \left\lbrack {{Equation}\mspace{14mu} 37} \right\rbrack \end{matrix}$ where n denotes the number of candidate foot positions, p_(i) denotes a candidate foot position, p_(f) denotes a detected foot position, and T_(C) denotes a threshold value.

In FIGS. 32A-32B, the detected foot and head positions and background line information are illustrated. FIG. 32A illustrates a line connecting the detected foot and head, and FIG. 32B illustrates the background line information.

In theory, homography prediction for camera calibration requires four 2D coordinates to solve eight linear inequalities. However, an actual robust random sample consensus (RANSAC) based robust camera calibration requires at least eight coordinates to minimize calibration errors, as shown in FIG. 33.

In embodiments of the present invention, the vanishing point and the vanishing line may be predicted based on the number of foot and head positions of the object as follows:

First Embodiment

When the number of sets of foot and head detected is smaller than N, the vanishing point and the vanishing line may be predicted using the background line information.

For example, three vanishing points may be selected from intersections that intersect background line information using the RANSAC algorithm. At least one of the three selected vanishing points is determined as a vertical vanishing point. Then, a line connecting the remaining two vanishing points of the three vanishing points may be determined as a horizontal vanishing line.

Second Embodiment

When the number of sets of foot and head detected is greater than N and object movement is linear, the object occlusion detection device 100 can predict the vertical vanishing point using the foot and head positions of the object.

The vertical vanishing point may be determined at the intersection of the line connecting the foot and the head position, as shown in FIG. 34. However, since one horizontal vanishing point is predicted when the object moves linearly, it is impossible to predict the horizontal vanishing line. Therefore, the object occlusion detection device 100 may predict the vanishing line using the background line information.

Third Embodiment

When the number of sets of foot and head detected is greater than N and object movement is not linear, the object occlusion detection device 100 may predict the vanishing point and the vanishing line using the foot and head positions. A line connecting the positions of two feet of the detected foot positions (referred to as a foot line) and a line connecting the positions of two heads (referred to as a head line) are used to predict the horizontal vanishing point.

As a result, the horizontal vanishing line may be predicted using two horizontal vanishing points, as shown in FIG. 34.

In step 125, the object occlusion detection device 100 calibrates the camera parameters using the predicted vanishing point and the vanishing line.

For example, the object occlusion detection device 100 may calibrate camera parameters using two predicted vertical vanishing points and the horizontal vanishing line. This can be expressed by Equation 38.

$\begin{matrix} {{f = \sqrt{\left( {{a_{3}/a_{2}} - p_{y}} \right)\left( {v_{y} - p_{y}} \right)}}{\rho = {{atan}\left( {{- v_{x}}/v_{y}} \right)}}{\theta = {{atan}\left( {{- \sqrt{v_{x}^{2} + v_{y}^{2}}}/f} \right)}}{h_{c} = {h_{o}/\left( {1 - \frac{{d\left( {o_{h},v_{l}} \right)}{{o_{f} - v}}}{{d\left( {o_{f},v_{l}} \right)}{{o_{h} - v}}}} \right)}}} & \left\lbrack {{Equation}\mspace{14mu} 38} \right\rbrack \end{matrix}$ Where f denotes the focal length, ρ denotes the roll angle, θ denotes the tilt angle, h_(c) denotes the camera height, ν_(l) denotes the horizontal vanishing line such as a₁x+a₂y+a₃=0, ν=[ν_(x) ν_(y)]^(T) denotes the vertical vanishing point, h_(o) denotes the object height, o_(f) denotes the foot position of the object, o_(h) denotes the head position of the object, and d(A,B) denotes the distance between position A and position B.

In step 130, the object occlusion detection device 100 estimates the depth of the object by inversely projecting a part of the object onto the reference plane in the 3D space using results of camera parameter calibration.

For estimation of the depth of the object, the coordinates of the 2D image are projected onto the reference plane in the 3D space using the projection matrix. The foot position of the object is placed on the ground plane, the camera height is calculated as the distance between the ground plane and the camera, and the ground plane is regarded as the XY plane, so the ground plane may be used as the reference plane.

The foot position of the object with respect to the reference plane (ground plane) in the 3D space may be calculated using the foot position of the object in the 2D image. To detect the foot position in the 3D space, the foot position in the 2D image may be projected inversely onto the reference plane in the 3D space using the projection matrix. This may be expressed by the following Equation 39: X=(P ^(T) P)⁻¹ ^(P) ^(T) x _(f)  [Equation 39] Where x_(f) denotes the foot position on the 2D image, P denotes the projection matrix, and X denotes the coordinates of the inversely-projected x_(f). The coordinates of the inversely-projected X are normalized by the Z-axis value to detect the foot position in the 3D space as in Equation 40.

$\begin{matrix} {X_{f} = \frac{X}{Z}} & \left\lbrack {{Equation}\mspace{14mu} 40} \right\rbrack \end{matrix}$ where Z denotes the Z-axis value of X, and x_(f) denotes the foot position on the reference plane (ground plane) in the 3D space.

The depth of the object may be predicted by calculating the distance between the object and the camera.

However, the foot position is shown at limited positions in the input image. Therefore, in the embodiment of the present invention, the foot position closest to the center point for prediction of the object depth is used. The predicted depth may be normalized using the farthest distance with respect to the center point.

When the object is sufficiently far from the camera, the depth of the foot position of the object may be estimated as a Y-axis coordinate because a camera pan angle is zero and the center point is on the ground plane.

However, when the object depth is not equal to the depth of the foot position of the object, the object depth may be calculated using Equation 41.

$\begin{matrix} {d = \frac{{Y_{f} - Y_{p}}}{d_{F}}} & \left\lbrack {{Equation}\mspace{14mu} 41} \right\rbrack \end{matrix}$ where d denotes the object depth, Y_(p) denotes the Y-axis value of the center point, Y_(f) denotes the foot position the object, and d_(F) denotes the farthest distance.

FIG. 35 is a diagram for explaining object detection prediction. In FIG. 35, d_(N) denotes the nearest distance, (X_(p),Y_(p),Z_(p)) denotes the center point, and (X_(f),Y_(f),Z_(f)) denotes the foot position of the object.

In step 135, the object occlusion detection device 100 calculates a variation in the depth of the object using the estimated object depth.

The object occlusion detection device 100 may calculate the variation in the depth of the object using the estimated depth of an object of a current frame and the estimated depth of an object of a previous frame. That is, the variation in the depth of the object may be calculated by the difference between an estimate for the depth of the object of the current frame and an estimate for the depth of the object of the previous frame.

In step 140, the object occlusion detection device 100 detects occlusion of the object using the calculated variation in the depth of the object.

A depth of the same object in an adjacent frame changes slowly. If the object is occluded, the predicted depth of the object changes quickly. Based on this observation, the object occlusion may be detected as in Equation 42.

$\begin{matrix} {O = \left\{ \begin{matrix} {{ture},} & {{{if}\mspace{14mu}{{d_{t - 1} - d_{t}}}} \geq T_{O}} \\ {{false},} & {{otherwise}} \end{matrix} \right.} & \left\lbrack {{Equation}\mspace{14mu} 42} \right\rbrack \end{matrix}$ where O denotes results of object occlusion detection, d_(t) denotes the depth of the object at time t, and T_(O) denotes the threshold value for object occlusion detection.

When the variation in the depth becomes larger than the threshold value in the t-th frame and the previous frame of the object, an occluded state of the object may be detected.

FIG. 36 is a block diagram schematically illustrating an internal configuration of an object occlusion detection device according to an embodiment of the present invention.

Referring to FIG. 36, the object occlusion detection device 100 according to an embodiment of the present invention includes a camera parameter calibration unit 710, a depth estimation unit 715, a detection unit 720, a memory 725, and a processor 730.

The camera parameter calibration unit 710 extracts an object region using a background model after inputting a current frame into the background model, detects a vanishing point and a vanishing line using the extracted object region, and calibrates camera parameters based on the vanishing point and the vanishing line.

For example, the camera parameter calibration unit 710 may detect a foot position and a head position of the object region, and then detect at least one vanishing point and a vanishing line using at least one of a parallel line connecting the detected foot position and head position and background line information. This is the same as that already described in detail with reference to FIG. 30, so that redundant description will be omitted.

The depth estimation unit 715 estimates a depth of the object by inversely projecting positions of a part of the object onto the ground plane in the 3D space using results of calibration of the camera parameter.

The detection unit 720 estimates a variation in the depth of the object using the estimated depth of the object and an estimated depth of the object in the previous frame and detects occlusion of the object in the current frame using the variation the depth of the object.

The memory 725 is means for storing various algorithms necessary to perform a method of detecting an occluded state by extracting an object from a video and then estimating the variation in a depth of the object, various data derived during processing thereof, and the like.

The processor 730 is means for controlling internal components of the object occlusion detection device 100 according to an embodiment of the present invention (e.g., the camera parameter calibration unit 710, the depth estimation unit 715, a detection unit 720, and the memory 725, etc.).

The above-described object occlusion detection device 100 may be included as a part in a surveillance camera or the like and be used for object tracking and recognition.

FIGS. 37A-37D are diagrams illustrating a result of object occlusion detection according to an embodiment of the present invention.

FIG. 37A shows results of detection of an object occluded by the background, FIG. 37B shows results of detection of an object occluded by the other object, and FIG. 37C shows detection results in another test video, and FIG. 37D shows a result of erroneously detecting the y-axis value of a foot position in the another test image due to occlusion.

In FIG. 37D, an error occurs in detecting an object because the depth information of the object is not used. On the other hand, it is understood that the present invention can accurately detect object occlusion regardless of scenes by using depth information of the object in the 3D space.

On the other hand, the components of the above-described embodiment can be easily grasped from a process viewpoint. That is, each component can be identified as a respective process. Further, the process of the above-described embodiment can be easily grasped from the viewpoint of the components of the device.

In addition, the above-described technical features may be implemented in the form of program instructions that can be executed through various computer means and recorded in a computer-readable medium. The computer-readable medium may include program instructions, data files, data structures, and the like, alone or in combination. The program instructions recorded on the medium may be those specially designed and constructed for the embodiments or may be available to those skilled in the art of computer software. Examples of computer-readable media include magnetic media such as hard disks, floppy disks, and magnetic tape; optical media such as CD-ROMs and DVDs; magnetic media such as floppy disks; Magneto-optical media, and hardware devices specifically configured to store and execute program instructions such as ROM, RAM, flash memory, and the like. Examples of program instructions include machine language code such as those produced by a compiler, as well as high-level language code that can be executed by a computer using an interpreter or the like. The hardware device may be configured to operate as one or more software modules to perform the operations of the embodiments, and vice versa.

It will be apparent to those skilled in the art that various modifications, additions and substitutions are possible, without departing from the spirit and scope of the invention as defined by the appended claims. Should be regarded as belonging to the following claims. 

The invention claimed is:
 1. A normalized metadata generation method, the method is performed by a metadata generation device of a multi-camera-based video surveillance system including different kinds of cameras, the method comprising: generating a multi-ellipsoid based three-dimensional (3D) human model using perspective features of a plurality of two-dimensional (2D) images obtained by the multiple cameras; performing scene calibration based on the three-dimensional human model to normalize object information of an object included in the two-dimensional images; and generating normalized metadata of the object from the two-dimensional images on which the scene calibration is performed, wherein the generating of the normalized metadata of the object includes: compensating colors of the two-dimensional (2D) image; extracting representative color information; extracting non-color metadata; and integrating the extracted metadata into one data model.
 2. The normalized metadata generation method of claim 1, wherein the generating of the three-dimensional human model generates a human model having a height from a position of a foot, using three ellipsoids including a head, a body, and a leg in 3D world coordinates.
 3. The normalized metadata generation method of claim 2, wherein the ellipsoid is back-projected onto a two-dimensional space to match an actual object to perform shape matching.
 4. The normalized metadata generation method of claim 3, wherein a moving object region is detected by background modeling using a Gaussian mixture model (GMM) and a detected shape is normalized, to perform the shape matching.
 5. The normalized metadata generation method of claim 4, wherein the normalized shape is calculated as a set of boundary points and each of the boundary points is generated at a position where a radial line from a center of gravity meets an outermost boundary of the object.
 6. The normalized metadata generation method of claim 5, wherein the performing of the scene calibration includes extracting valid data for line segments from the foot to the head; estimating homology from the foot to the head using the extracted valid data; and detecting a vanishing line and a vanishing point from the homology.
 7. The normalized metadata generation method of claim 6, wherein the valid data is selected according to a first condition that the line segment from the foot to the head is within a restricted region with respect to a y-axis and a second condition that the line segment from the foot to the head is a major axis of an ellipse to be approximated to a human object.
 8. The normalized metadata generation method of claim 7, wherein an angle, a major axis and a minor axis of the object are calculated through matching operation between the object and the ellipsoid to acquire the valid data.
 9. The normalized metadata generation method of claim 6, wherein invalid data is removed from the extracted valid data using robust random sample consensus (RANSAC) to prevent error due to the homology from the foot to the head.
 10. The normalized metadata generation method of claim 6, wherein the vanishing line and the vanishing points are determined by three human positions which are not on the same line.
 11. The normalized metadata generation method of claim 10, wherein the vanishing points are points under the ground plane, at which line segments from the foot to the head respectively representing positions of humans standing at various positions on the ground plane extend and meet each other.
 12. The normalized metadata generation method of claim 10, wherein the vanishing line is a line segment connecting a first point and a second point, wherein the first point is a point at which a straight line connecting head points of a first human position and a second human position and a straight line connecting foot points of the first human position and the second human meet each other, and wherein the second point is a point at which a straight line connecting head points of the first human position and a third human position and a straight line connecting foot points of the first human position and the third human meet each other.
 13. The normalized metadata generation method of claim 6, wherein the homology from the foot to the head is determined by calculating a projection matrix of a camera using the vanishing line, the vanishing points, and an object height.
 14. The normalized metadata generation method of claim 13, wherein the projection matrix projects an object on the two-dimensional image onto the three dimensional world coordinates which are not affected by camera parameters.
 15. The normalized metadata generation method of claim 6, wherein internal parameters and external parameters of the camera are estimated using the detected vanishing line and the vanishing points, and wherein the internal parameters include a focal length, a principal point and an aspect ratio, and the external parameters include a panning angle, a tilting angle, a rolling angle, a camera height with respect to the z-axis, transformation in x-axis and y-axis directions.
 16. The normalized metadata generation method of claim 1, wherein the compensating of the colors includes estimating a color of a light source by calculating a modified Minkowsky norm based color considering local correlation using the following equation; and $\left( \frac{\int{\left( {f^{\sigma}(x)} \right)^{p}{dx}}}{\int{dx}} \right)^{1/p} = {ke}$ where f(x) represents an image defined as an image x=[x y]^(T), f^(σ)=f*G^(σ), filtered by the Gaussian filter G^(σ) and the Minkowsky norm p, compensating the estimated color of the light source using the following equation[H]: f _(corr) ^(c) =f _(c)/ω_(c) ³, for c∈{R,G,B} where f_(corr) ^(c) represents a color-corrected c-channel image, f_(c) represents a c-channel image and ω_(c) represents a scaling parameter.
 17. The normalized metadata generation method of claim 1, wherein the extracting of the representative color information includes extracting the representative color information of the object by performing K-means clustering on the object region detected from the two-dimensional image of which the colors are compensated.
 18. The normalized metadata generation method of claim 1, wherein the non-color metadata includes size information including the height and width of the object, moving speed information of the object, aspect ratio information, and trajectory information.
 19. The normalized metadata generation method of claim 18, wherein the height (H_(O)) is calculated by the following equation: $H_{O} = \frac{{\left( {P_{2,1} - {P_{3,1} \cdot y}} \right)X} + {\left( {P_{2,2} - {P_{3,2} \cdot y}} \right)Y} + P_{2,2} - {P_{3,2} \cdot y}}{{P_{3,3} \cdot y} - P_{2,3}}$ where P denotes the projection matrix, y denotes the y coordinate on the image plane.
 20. The normalized metadata generation method of claim 18, wherein the width (W_(O)) is calculated by the following equation: W _(o) =|X _(o) −X′ _(o) |·W _(i) where X_(O) represents a foot position on the three-dimensional world coordinates, X′_(O) represents a foot position corresponding to one pixel-shifted foot position on the image plane, and W, represents a width of the object on the image plane.
 21. The normalized metadata generation method of claim 18, wherein the moving speed information (S_(o)) is calculated by the following equation: S _(o)=√{square root over ((X _(o) ^(t) −X _(o) ^(t′))²+(Y _(o) ^(t) −Y _(o) ^(t′))²)} where (X_(o) ^(t), Y_(o) ^(t)) represents a position of the object on the world coordinates in a t-th frame, and (X_(o) ^(t′), Y_(o) ^(t′)) represents a position of the object one second earlier.
 22. The normalized metadata generation method of claim 18, wherein the aspect ratio (R_(o)) information is calculated by the following equation: R _(o) =H _(i) /W _(i) where H_(i) and W_(i) respectively represent the height and width of the object on the image plane.
 23. The normalized metadata generation method of claim 18, wherein the trajectory information (T_(o)) is calculated using four positions on trajectory by the following equation: T _(o)=[x ₀ ¹ ,y ₀ ¹ ,x ₀ ² ,y ₀ ² ,x ₀ ³ ,y ₀ ³ ,x ₀ ⁴ ,y ₀ ⁴]^(T) where [x₀ y₀]^(T) is the start position, [x₁ y₂]^(T) is the 1/3 position, [x₂ y₂]^(T) is the 2/3 position, and [x₄ y₄]^(T) is the end position.
 24. A normalized metadata generation device for a multi-camera-based video surveillance system including different kinds of cameras, the device comprising: a memory configured to store instructions; and a processor configured to execute the instructions, wherein the instructions execute a normalized metadata generation method comprising: generating a multi-ellipsoid based three-dimensional (3D) human model using perspective features of a plurality of two-dimensional (2D) images obtained by the multiple cameras; performing a scene calibration based on the 3D human model to normalize object information of an object included in the 2D images; and generating normalized metadata of the object from the two-dimensional images on which the scene calibration is performed wherein the generating of the normalized metadata of the object includes: compensating colors of the two-dimensional (2D) image; extracting representative color information; extracting non-color metadata; and integrating the extracted metadata into one data model. 